package com.longsys.eventsourcing.demo.eventsourcing.domain;

import com.longsys.eventsourcing.demo.model.Role;
import com.longsys.framework.eventsourcing.sbclient.core.Aggregate;
import lombok.Data;

import java.util.List;

@Data
public class UserAggr implements Aggregate {

    private int id;

    private String name;

    private List<Role> roles;
}
